package com.laijiale.dto;

/**
 * @author laijiale
 * @date 2025年01月09日 14:29
 */

import com.laijiale.constant.RE;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.Pattern;

@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Schema(name = "集次分页DTO")
@Data
public class EpisodePageDTO extends PageDTO implements RE {
 @Pattern(regexp = TITLE_RE, message = TITLE_RE_MSG)
 @Schema(description = "标题")
 private String title;
 @Schema(description = "季次ID，季次表外键")
 private Long fkSeasonId;
}
